.class public abstract Les/ro;
.super Ljava/lang/Object;
.source "MusicTagLoader.java"


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Les/ro$b;,
        Les/ro$c;
    }
.end annotation


# instance fields
.field private final a:Ljava/util/ArrayList;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/ArrayList<",
            "Les/ro$b;",
            ">;"
        }
    .end annotation
.end field

.field private final b:Ljava/util/Map;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/Map<",
            "Les/so;",
            "Ljava/lang/Integer;",
            ">;"
        }
    .end annotation
.end field

.field private c:Z

.field private d:Ljava/lang/Thread;

.field private e:Ljava/lang/String;

.field f:Les/ro$b;


# direct methods
.method public constructor <init>()V
    .locals 1

    const/4 v0, 0x0

    .line 1
    invoke-direct {p0, v0}, Les/ro;-><init>(Ljava/lang/String;)V

    return-void
.end method

.method public constructor <init>(Ljava/lang/String;)V
    .locals 1

    .line 2
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    .line 3
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Les/ro;->a:Ljava/util/ArrayList;

    .line 4
    new-instance v0, Ljava/util/HashMap;

    invoke-direct {v0}, Ljava/util/HashMap;-><init>()V

    iput-object v0, p0, Les/ro;->b:Ljava/util/Map;

    const-string v0, "MusicTagLoader"

    .line 5
    iput-object v0, p0, Les/ro;->e:Ljava/lang/String;

    if-eqz p1, :cond_0

    .line 6
    iput-object p1, p0, Les/ro;->e:Ljava/lang/String;

    .line 7
    :cond_0
    invoke-direct {p0}, Les/ro;->a()V

    return-void
.end method

.method static synthetic a(Les/ro;)Ljava/util/ArrayList;
    .locals 0

    .line 1
    iget-object p0, p0, Les/ro;->a:Ljava/util/ArrayList;

    return-object p0
.end method

.method private a()V
    .locals 3

    .line 11
    iget-object v0, p0, Les/ro;->d:Ljava/lang/Thread;

    if-eqz v0, :cond_0

    return-void

    :cond_0
    const/4 v0, 0x0

    .line 12
    iput-boolean v0, p0, Les/ro;->c:Z

    .line 13
    new-instance v0, Ljava/lang/Thread;

    new-instance v1, Les/ro$c;

    const/4 v2, 0x0

    invoke-direct {v1, p0, v2}, Les/ro$c;-><init>(Les/ro;Les/ro$a;)V

    invoke-direct {v0, v1}, Ljava/lang/Thread;-><init>(Ljava/lang/Runnable;)V

    .line 14
    iget-object v1, p0, Les/ro;->e:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/Thread;->setName(Ljava/lang/String;)V

    .line 15
    iput-object v0, p0, Les/ro;->d:Ljava/lang/Thread;

    .line 16
    invoke-virtual {v0}, Ljava/lang/Thread;->start()V

    return-void
.end method

.method static synthetic b(Les/ro;)Z
    .locals 0

    .line 1
    iget-boolean p0, p0, Les/ro;->c:Z

    return p0
.end method

.method static synthetic c(Les/ro;)Ljava/util/Map;
    .locals 0

    .line 1
    iget-object p0, p0, Les/ro;->b:Ljava/util/Map;

    return-object p0
.end method


# virtual methods
.method public a(ILes/so;Landroid/view/View;)V
    .locals 2

    if-nez p2, :cond_0

    return-void

    .line 2
    :cond_0
    iget-object v0, p0, Les/ro;->d:Ljava/lang/Thread;

    if-nez v0, :cond_1

    .line 3
    invoke-direct {p0}, Les/ro;->a()V

    .line 4
    :cond_1
    iget-object v0, p0, Les/ro;->a:Ljava/util/ArrayList;

    monitor-enter v0

    .line 5
    :try_start_0
    new-instance v1, Les/ro$b;

    invoke-direct {v1, p1, p2, p3}, Les/ro$b;-><init>(ILes/so;Landroid/view/View;)V

    .line 6
    iget-object p2, p0, Les/ro;->b:Ljava/util/Map;

    iget-object p3, v1, Les/ro$b;->a:Les/so;

    invoke-interface {p2, p3}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object p2

    if-nez p2, :cond_2

    .line 7
    iget-object p2, p0, Les/ro;->a:Ljava/util/ArrayList;

    invoke-virtual {p2, v1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    .line 8
    iget-object p2, p0, Les/ro;->b:Ljava/util/Map;

    iget-object p3, v1, Les/ro$b;->a:Les/so;

    invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object p1

    invoke-interface {p2, p3, p1}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 9
    iget-object p1, p0, Les/ro;->a:Ljava/util/ArrayList;

    invoke-virtual {p1}, Ljava/lang/Object;->notifyAll()V

    .line 10
    :cond_2
    monitor-exit v0

    return-void

    :catchall_0
    move-exception p1

    monitor-exit v0
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    throw p1
.end method

.method protected abstract a(Les/ro$b;)Z
.end method

.method protected abstract b(Les/ro$b;)Z
.end method
